package com.delivery.constant;

public class DeliveryConstantEnum {

    public enum StatusEnum {
        cancel(0, "已取消"),

        unpaid(1, "待支付"),
        alreadyPay(2, "已支付"),
        refunded(3, "已退款");
        private Integer status;
        private String describe;

        StatusEnum(int status, String describe) {
            this.status = status;
            this.describe = describe;
        }
        public int getStatus() {
            return status;
        }
        public String getDescribe() {
            return describe;
        }
    }

    public enum payTypeEnum {
        deliveryOrder(1, "寄件支付"),
        compensationOrder(2, "补缴支付");
        private Integer tyep;
        private String describe;
        payTypeEnum(int tyep, String describe) {
            this.tyep = tyep;
            this.describe = describe;
        }
        public int getTyep() {
            return tyep;
        }
        public String getDescribe() {
            return describe;
        }

    }


 }




